package user

import (
	v1 "vite-tsc-gin/internal/apiserver/service/v1"
	"vite-tsc-gin/internal/apiserver/store"
)

type UserController struct {
	srv v1.Service
}

// NewUserController creates a user handler.
func NewUserController(store store.Factory) *UserController {
	return &UserController{
		srv: v1.NewService(store),
	}
}
